import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { CommonModule as SystemCommonModule } from '@angular/common';
import { RotutelistModule,ComponentList } from './rotutelist/rotutelist.module';
import { Routes, RouterModule } from '@angular/router';
import { SimpleReuseStrategy } from './SimpleReuseStrategy';
import { RouteReuseStrategy } from '@angular/router';
import { AppComponent } from './app.component';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { FormsModule,ReactiveFormsModule } from '@angular/forms';
import { HttpClientModule } from '@angular/common/http';
import { NgZorroAntdModule, NZ_I18N, zh_CN } from 'ng-zorro-antd';
import { registerLocaleData } from '@angular/common';
import {NgxEchartsModule} from 'ngx-echarts';
import zh from '@angular/common/locales/zh';


registerLocaleData(zh);
@NgModule({
  declarations: [
    AppComponent,
    ComponentList
  ],
  imports: [
    BrowserModule,
    BrowserAnimationsModule,
    RotutelistModule,
    SystemCommonModule,
    FormsModule,
    ReactiveFormsModule,
    HttpClientModule,
    NgZorroAntdModule,
    NgxEchartsModule
  ],
  providers: [{useValue: zh_CN,provide: RouteReuseStrategy, useClass: SimpleReuseStrategy}],
  bootstrap: [AppComponent]
})
export class AppModule { }
